package com.blb.mapper;

import com.blb.entity.InventoryCheck;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface InventoryCheckMapper {

    List<InventoryCheck> select(@Param("pNumber") String pNumber,@Param("pName") String pName,int start,int length,String companyId,@Param("nodeId") String nodeId,@Param("nodeType")String nodeType);

    int count(String pNumber, String pName);

    @Select("select ware_name,id from t_ware where company_id=#{companyId}")
    List<InventoryCheck> findAllWare(String companyId);

    InventoryCheck showDetails(int batch);

}
